<?php $view = $this; if(1!=1)$view = new View(); ?>
<p><a href="?m=organ&a=add" onclick="showWindow('addbank', this.href, 'get', 1, {'cover':'1'}); return false;">增加机构</a></p>
<table style="width:100%;" class="data">
<tr>
<th>ID</th><th>机构名称</th><th>类型</th><th>状态</th><th>备注</th>
</tr>
<?php foreach($view->Organ as $k=>$v):?>
<tr>
<td><?php echo $v['AID']?>&nbsp;</td>
<td><?php echo $v['OrganName']?>&nbsp;</td>
<td><?php echo $v['OrganType'] == 1 ? '银行' : '普通机构'?>&nbsp;</td>
<td><?php echo $v['Status'] == 1 ? '启用' : '禁用'?>&nbsp;</td>
<td><?php echo $v['Remark']?>&nbsp;</td>
</tr>
<?php endforeach;?>
</table>